package com.yhc.user.api.request;

import lombok.*;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BuyGoodsRequest {

    @NotNull(message = "amount不能为空")
    Long amount;

}
